<template>
  <el-tab-pane :label="mallInfo.label" :name="mallInfo.name">
    <div class="mall-content">
      <test-type v-if="isActive" />
    </div>
  </el-tab-pane>
</template>

<script>
//import TestType from '@/views/testview/testType/index.vue'

export default {
  name: 'MallCard',
  components: {
    TestType
  },
  props: {
    mallInfo: {
      type: Object,
      required: true
    },
    isActive: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style scoped>
.mall-content {
  width: 100%;
  height: 100%;
  min-height: 500px;
}
</style> 